package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/6/1.
 */

public class SearchBean {

    /**
     * code : 200
     * message : 成功
     * data : {"total":6,"per_page":20,"current_page":1,"data":[{"id":1,"picurl":"/uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","title":"干鹿茸哈哈","market_price":"166.00","volume":""},{"id":2,"picurl":"/uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","title":"干满胶囊","market_price":"166.00","volume":""},{"id":5,"picurl":"/uploads/image/20170602/0832c387491fb2c2ca3cca0a87e299de.jpg","title":"测试sku","market_price":"80.00","volume":""},{"id":6,"picurl":"/uploads/image/20170606/80a760c86fca63ab67d1ab7501562eee.jpg","title":"无属性","market_price":"0.00","volume":""},{"id":7,"picurl":"/uploads/image/20170609/0c65603a5ff573e962590e3c01649602.jpg","title":"测试轮播图","market_price":"166.00","volume":""},{"id":8,"picurl":"/uploads/image/20170609/52bcaf36eecb13fe3731f307257e4e2d.jpg","title":"修改轮播图","market_price":"0.00","volume":""}]}
     */

    private int code;
    private String message;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 6
         * per_page : 20
         * current_page : 1
         * data : [{"id":1,"picurl":"/uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","title":"干鹿茸哈哈","market_price":"166.00","volume":""},{"id":2,"picurl":"/uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","title":"干满胶囊","market_price":"166.00","volume":""},{"id":5,"picurl":"/uploads/image/20170602/0832c387491fb2c2ca3cca0a87e299de.jpg","title":"测试sku","market_price":"80.00","volume":""},{"id":6,"picurl":"/uploads/image/20170606/80a760c86fca63ab67d1ab7501562eee.jpg","title":"无属性","market_price":"0.00","volume":""},{"id":7,"picurl":"/uploads/image/20170609/0c65603a5ff573e962590e3c01649602.jpg","title":"测试轮播图","market_price":"166.00","volume":""},{"id":8,"picurl":"/uploads/image/20170609/52bcaf36eecb13fe3731f307257e4e2d.jpg","title":"修改轮播图","market_price":"0.00","volume":""}]
         */

        private int total;
        private int per_page;
        private int current_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 1
             * picurl : /uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg
             * title : 干鹿茸哈哈
             * market_price : 166.00
             * volume :
             */

            private int id;
            private String picurl;
            private String title;
            private String market_price;
            private String volume;

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            private String sales;
            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }
        }
    }
}
